package com.etc.service;

import java.util.List;

import com.etc.entity.Housing;
import com.etc.util.PageData;

public interface HousingService {
	PageData<Housing> getHousingAll(int page,int pageSize, String strLike);
	
	
	boolean UpdateHousing(Housing housing);
	
	boolean AddHousing(Housing housing);
	 
	List<Housing> SelHousingAll();
	

	List<Housing> queryHsByName(String hsName);
	//通过房源Id获取房源对象
	Housing getHousingById(int housingId);
	
	boolean UpdateHousingTwice(Housing housing ,String hsPic01,String hsPic02,String hsPic03);
}
